Repository navigation
web: session tab titles (not UUIDs) - #111
Merged
Merged
Conversation
#108 shipped sessionLabel but never wired the first prompt, so a live orchestrator tab stayed a raw id after Send. Remember the opening line on submit, label the TabBar from that (or Ask about {part} / New session), and set document.title to the same conversation — never session.id.slice. Co-authored-by: Vel <Code4me2@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #51.
Why #108 did not close this
#108 added
sessionLabeland moved session tabs ontoTabBar, but never passed a first prompt. History omitsuser_promptby design, so after Send the tab had nothing human to show. On a live drive of main772fef3, creatingkerf_couponleft the session tab (and the Chrome tab) looking like the raw idecec51cc-c398-4811-b0d9-35ad6d77bf18.The in-app helper already refused to return a UUID (
New session/Ask about {part}). The missing piece was wiring the operator's words, and settingdocument.titleto that conversation instead of leaving the browser tab on a URL/idthat reads as a truncated UUID.What changed (web-only)
sessionPrompts.ts). First write wins; later turns do not rename the conversation.session.id.slice), thenAsk about {part}, thenNew session+ relative time.document.titleis{label} · Hephaestusfor the selected tab. UUID stays ontitle/data-session-id/ tooltip only.aria-labelis the human label so the accessible name is not the UUID tooltip.New sessioninstead of dumping the UUID.Locked (untouched)
data-chrome-export/data-chrome-bom/[data-testid="artifact-pin"]stay.part) from JSON payload #69 out of scope.Tests
web/:pnpm typecheck,pnpm lint, andpnpm testall pass (42 files, 685 tests). New unit coverage: a session with a first prompt does not render the UUID as the accessible/visible name, anddocument.titleis not the raw id. Existing e2e selectors unchanged.